﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>站点更新</title>
       <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../../js/utils.js" type="text/javascript"></script>
    <script>
        function info() {

            var returnValue;
            returnValue = new Array();
            returnValue['refresh_index'] = document.form.refresh_index.checked ? 1 : 0;
            returnValue['refresh_content'] = document.form.refresh_content.checked ? 1 : 0;
            returnValue['refresh_extra'] = document.form.refresh_extra.checked ? 1 : 0;
            //returnValue['refresh_extra'] = document.form.refresh_extra.checked ? 1:0;
            returnValue['include_sub'] = document.form.include_sub.checked ? 1 : 0;
            returnValue['content_num'] = document.form.content_num.value;
            return returnValue;

        }

    </script>
   
</head>
<body>
    <form id="form" runat="server">
    <table width="100%"  class="table_form">
        <tr class="tr_item">
            <td>
            <fieldset class="search">
        <legend>更新内容:</legend>

                    <table width="100%"  class="table_form">
                        <tr class="tr_item">
                            <td>
                                <input name="refresh_index" type="checkbox" id="refresh_index" value="1" checked="checked"/>
                                <label for="refresh_index">
                                    首页</label>
                                <br>
                                <input name="refresh_content" type="checkbox" id="refresh_content" value="1" checked="checked"/>
                                <label for="refresh_content">
                                    内容页<br>
                                </label>
                                <input name="refresh_extra" type="checkbox" id="refresh_extra" value="1" />
                                <label for="refresh_extra">
                                    附加发布<br>
                                </label>
                            </td>
                        </tr>
                    </table>
                    </fieldset>
            
                <fieldset class="search">

        <legend>更新选项:</legend>

                 <table width="100%"  class="table_form" >
                        <tr class="tr_item">
                            <td>
                                <input type="checkbox" name="include_sub" value="1" id="include_sub"/>
                                <label for="include_sub">
                                    更新子结点</label>
                            </td>
                        </tr>
                        <tr  class="tr_item">
                            <td>
                                单次循环更新内容页数
                                <input name="content_num" type="text" id="content_num" value="5" size="10"/>
                            </td>
                        </tr>
                    </table>
                    </fieldset>
            </td>
        </tr>
        <tr class="tr_btn">
            <td height="20" align="right" id="submit_change">
                <input type="button" name="Submit2" value="开始更新" onclick='window.returnValue = info();window.close();'>
                &nbsp;
                <input name="button" type="button" onclick="window.returnValue ='' ;window.close();"
                    value="取消">
            </td>
        </tr>
    </table>   

    </form>
</body>
</html>
